package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import java.time.LocalDateTime;

/**
 * 会员兴趣爱好实体类<br>
 * 对应的表为：mem_interest<br>
 * 
 * @author pbuilder generated
 * @date 2019-06-14 09:37:04
 * @company sgy
 * @version 2.0
 */
@TableName("mem_interest")
@ApiModel(description = "会员兴趣爱好")
public class InterestEntity {

    /**  */
	protected String id;

    /**  */
	protected String memberId;

    /**  */
	protected String interest;

    /**  */
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空会员兴趣爱好实体对象
	 */
	public InterestEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个会员兴趣爱好实体对象
	 * 
	 * @param other 其它对象
	 */
	public InterestEntity(InterestEntity other){
		super();
     	this.id = other.id;
     	this.memberId = other.memberId;
     	this.interest = other.interest;
     	this.createdTime = other.createdTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * 
	 * @return memberId 
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param memberId 
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取
	 * 
	 * @return interest 
	 */
	public String getInterest() {
		return interest;
	}
  	
	/**
	 * 设置
	 * 
	 * @param interest 
	 */
	public void setInterest(String interest) {
		this.interest = interest;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

    public String toString() {
		return new StringBuilder().append("InterestEntity{").
			append("id=").append(id).
			append(",memberId=").append(memberId).
			append(",interest=").append(interest).
			append(",createdTime=").append(createdTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public InterestEntity copy() {
		return new InterestEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /**  */
	public static final String COL_MEMBER_ID = "member_id";

    /**  */
	public static final String COL_INTEREST = "interest";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";
}
